using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class RetrieveDependenciesForDeleteRequest : OrganizationRequest
	{
		public Guid ObjectId
		{
			get
			{
				if (base.Parameters.Contains("ObjectId"))
				{
					return (Guid)base.Parameters["ObjectId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["ObjectId"] = value;
			}
		}
		public int ComponentType
		{
			get
			{
				if (base.Parameters.Contains("ComponentType"))
				{
					return (int)base.Parameters["ComponentType"];
				}
				return 0;
			}
			set
			{
				base.Parameters["ComponentType"] = value;
			}
		}
		public RetrieveDependenciesForDeleteRequest()
		{
			base.RequestName = "RetrieveDependenciesForDelete";
			this.ObjectId = default(Guid);
			this.ComponentType = 0;
		}
	}
}
